﻿using Castle.DynamicProxy;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Publicuse.Interface
{
    /// <summary>
    /// 扩展接口AOP
    /// </summary>
    public sealed class IAutofacAop : IInterceptor
    {
        public void Intercept(IInvocation invocation)
        {

            var parameters = invocation.Arguments;
            invocation.Proceed();
            var retrurnValue = invocation.ReturnValue;

        }
    }
}
